package com.cml.getway.common.constants;

/**
 * 姓名：陈茂林
 * 时间：2024/1/11
 * 描述：
 */
public class GetwayProtocol {
    public final static String HTTP = "http";

    public final static  String DUBBO = "dubbo";

    public static boolean isHttp(String protocol) {
        return HTTP.equals(protocol);
    }

    public static boolean isDubbo(String protocol) {
        return DUBBO.equals(protocol);
    }
}
